package components.ghost;

import images.Images;

import com.uqbar.vainilla.appearances.Sprite;
import components.Walker;
import components.direction.Direction;
import components.scenes.Slot;

public class SillyGhost extends Ghost {

	public SillyGhost(Walker target) {
		super(target);
		this.setAppearance(Images.getImage("sghost"));
		this.setChasingSpeed(60);
	}
	
	public Slot getTargetSlot() {
		return this.getScene().getMapMatrix().farthestPath(new Slot(this.getTarget().getCurrentX(), this.getTarget().getCurrentY()), Direction.EAST, 5);
	}

	public Sprite getChasingSprite(){
		return Images.getImage("sghost");
	}
}
